projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3271a8f
)
(handle_one_xevent): Don't pass buttons higher than 3
author
Jan Djärv
<jan.h.d@swipnet.se>
Tue, 13 May 2008 08:08:25 +0000
(08:08 +0000)
committer
Jan Djärv
<jan.h.d@swipnet.se>
Tue, 13 May 2008 08:08:25 +0000
(08:08 +0000)
to Gtk+ menus.
src/ChangeLog
patch
|
blob
|
history
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 31bf04624b03c7899503b081806e22aed3d20108..45104245d79d245c6d7c697bdfc63639473920ee 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,8
@@
+2008-05-13 Jan Djärv <jan.h.d@swipnet.se>
+
+ * xterm.c (handle_one_xevent): Don't pass buttons higher than 3
+ to Gtk+ menus.
+
2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
* dired.c (file_name_completion): Tweak the code so as to always do it
diff --git
a/src/xterm.c
b/src/xterm.c
index 5dda7ed2c5d3fe0121328a5b2cbe228c7ef8e45b..9d410a0ba8a4c9ab669bf504fb67ee94d20d0be0 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-7175,6
+7175,8
@@
handle_one_xevent (dpyinfo, eventp, finish, hold_quit)
if (
#ifdef USE_GTK
! popup_activated ()
+ /* Gtk+ menus only react to the first three buttons. */
+ && event.xbutton.button < 3
&&
#endif
f && event.type == ButtonPress